Method for equipment networking and outputting by equipment, and equipment

ABSTRACT

Disclosed are methods for equipment networking, and equipment. Equipment acquires at least one of first information indicating a state of the equipment or second information indicating a state of peer equipment. The equipment determines whether a pre-set condition is met by at least one of the first information or the second information. When the pre-set condition is met by at least one of the first information or the second information, the equipment forms a group with the peer equipment. The equipment monitors data characterizing a signal transmitted by the peer equipment. When a first pre-set condition is not met by the data characterizing the signal transmitted by the peer equipment, the equipment quits the group formed with the peer equipment.

CROSS-REFERENCE TO RELATED APPLICATIONS

This is a continuation of U.S. application Ser. No. 15/910,671, filedMar. 2, 2018, which claims priority to Chinese patent application No.201710121745.7 filed on Mar. 2, 2017, the entire content of which isincorporated herein by reference.

TECHNICAL FIELD

The present disclosure relates to smart User Equipment, and inparticular to methods for equipment networking and outputting byequipment, and equipment.

BACKGROUND

With accumulation of wealth of the society and speedup of the pace oflife, there is an increasing demand for a quality yet convenientlifestyle. Great music is an essential ingredient of life. As a sourceof music, a speaker applies widely to life, work, study, recreation,etc. With an increasing demand, multiple speakers located at differentplaces may have to play one audio file simultaneously. Differentspeakers located at one place may have to play different channels of oneaudio file simultaneously to perfect stereo sound. Existing speakernetworking generally requires control equipment, for grouping orungrouping a speaker using an application in the control equipment. Thegrouping or ungrouping cannot be achieved without the control equipment.The grouping and ungrouping of a speaker are inflexible and inconvenientin terms of operation by the user.

SUMMARY

In view of this, embodiments herein provide methods for equipmentnetworking and outputting by equipment, and equipment.

A technical solution herein may be implemented as follows.

According to an embodiment herein, a method for equipment networkingincludes:

-   -   acquiring, by equipment, at least one of first information        indicating a state of the equipment or second information        indicating a state of peer equipment;    -   determining, by the equipment, whether a pre-set condition is        met by at least one of the first information or the second        information; and    -   in response to determining that the pre-set condition is met by        at least one of the first information or the second information,        forming, by the equipment, a group with the peer equipment.

The state of the peer equipment may include data characterizing a signaltransmitted by the peer equipment.

The determining, by the equipment, whether a pre-set condition is met byat least one of the first information or the second information mayinclude:

-   -   determining, by the equipment, whether a first pre-set condition        is met by the data characterizing the signal transmitted by the        peer equipment, and in response to determining that the first        pre-set condition is met by the data characterizing the signal        transmitted by the peer equipment, determining that the pre-set        condition is met by the second information.

The acquiring, by the equipment, the first information indicating thestate of the equipment may include: acquiring, by the equipment, thefirst information triggered by a first physical operation.

The acquiring, by the equipment, the second information indicating thestate of the peer equipment may include: acquiring, by the equipment,the second information sent by the peer equipment according to a secondphysical operation on the peer equipment.

A method for outputting by equipment according to an embodiment hereinincludes:

-   -   detecting, by equipment, first data characterizing a signal        transmitted by nearby wireless equipment;    -   determining, by the equipment, whether a second pre-set        condition is met by the first data characterizing the signal;        and    -   in response to determining that the second pre-set condition is        met by the first data characterizing the signal, generating, by        the equipment, an output instruction, and outputting data        according to the output instruction.

The method may further include: detecting second data characterizing thesignal transmitted by the nearby wireless equipment, and determiningwhether a third pre-set condition is met by the second datacharacterizing the signal; and

-   -   in response to determining that the third pre-set condition is        not met by the second data characterizing the signal, generating        an end instruction, and stopping outputting the data according        to the end instruction.

Equipment according to an embodiment herein includes an acquiring unit,a communicating unit, and a determining unit.

The acquiring unit is arranged for: acquiring first informationindicating a state of the equipment.

The communicating unit is arranged for: acquiring second informationindicating a state of peer equipment.

The determining unit is arranged for: determining whether a pre-setcondition is met by at least one of the first information or the secondinformation.

The communicating unit is further arranged for: in response todetermining, by the determining unit, that the pre-set condition is metby at least one of the first information or the second information,forming a group with the peer equipment.

The communicating unit may be arranged for: acquiring the secondinformation indicating data characterizing a signal transmitted by thepeer equipment.

The determining unit may be arranged for: determining whether a firstpre-set condition is met by the data characterizing the signaltransmitted by the peer equipment, and in response to determining thatthe first pre-set condition is met by the data characterizing the signaltransmitted by the peer equipment, determining that the pre-setcondition is met by the second information.

The acquiring unit may be arranged for: acquiring the first informationtriggered by a first physical operation.

The communicating unit may be arranged for: acquiring the secondinformation sent by the peer equipment according to a second physicaloperation on the peer equipment.

Equipment according to an embodiment herein includes a detecting unit, adetermining unit, and a controlling unit.

The detecting unit is arranged for: detecting first data characterizinga signal transmitted by nearby wireless equipment.

The determining unit is arranged for: determining whether a secondpre-set condition is met by the first data characterizing the signal.

The controlling unit is arranged for: in response to determining, by thedetermining unit, that the second pre-set condition is met by the firstdata characterizing the signal, generating an output instruction, andoutputting data according to the output instruction.

The detecting unit may be further arranged for: detecting second datacharacterizing the signal transmitted by the nearby wireless equipment.

The determining unit may be further arranged for: determining whether athird pre-set condition is met by the second data characterizing thesignal.

The controlling unit is further arranged for: in response todetermining, by the determining unit, that the third pre-set conditionis not met by the second data characterizing the signal, generating anend instruction, and stopping outputting the data according to the endinstruction.

With a method for equipment networking, a method for outputting byequipment, and equipment according to embodiments herein, equipmentacquires at least one of first information indicating a state of theequipment or second information indicating a state of peer equipment.The equipment determines whether a pre-set condition is met by at leastone of the first information or the second information. When the pre-setcondition is met by at least one of the first information or the secondinformation, the equipment forms a group with the peer equipment. With atechnical solution according to embodiments herein, grouping ofequipment may be implemented without the need of control equipment, bydetermining whether the pre-set condition is met by the state of theequipment, which is flexible and facilitates operation by the user,greatly improving user experience.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a flowchart of a method for equipment networking according toan embodiment herein.

FIG. 2 is a flowchart of a method for equipment networking according toan embodiment herein.

FIG. 3 is a flowchart of a method for equipment networking according toan embodiment herein.

FIG. 4 is a diagram of applying a method for equipment networkingaccording to an embodiment herein.

FIG. 5 is a flowchart of a method for equipment networking according toan embodiment herein.

FIG. 6 is a diagram of applying a method for equipment networkingaccording to an embodiment herein.

FIG. 7 is a flowchart of a method for equipment networking according toan embodiment herein.

FIG. 8a and FIG. 8b are diagrams of applying a method for equipmentnetworking according to an embodiment herein.

FIG. 9 is a flowchart of a method for outputting by equipment accordingto an embodiment herein.

FIG. 10 is a diagram of a structure of equipment according to anembodiment herein.

FIG. 11 is a diagram of a structure of equipment according to anembodiment herein.

FIG. 12 is a diagram of a structure of equipment according to anembodiment herein.

DETAILED DESCRIPTION

The present disclosure is to be elaborated below with reference todrawings and embodiments.

As shown in FIG. 1, a method for equipment networking according to anembodiment herein includes steps as follows.

In step 101, equipment acquires at least one of first informationindicating a state of the equipment or second information indicating astate of peer equipment.

In step 102, the equipment determines whether a pre-set condition is metby at least one of the first information or the second information.

In step 103, when the pre-set condition is met by at least one of thefirst information or the second information, the equipment forms a groupwith the peer equipment.

Both the equipment and the peer equipment may be output equipment. Theoutput equipment may output data of a type. The output equipment may bedisplay equipment capable of outputting image data, such as a display.The output equipment may be audio equipment capable of outputting audiodata, such as a speaker. The output equipment may be equipment capableof outputting control data, such as alarm equipment. Both the equipmentand the peer equipment may be audio equipment such as speakers. Theequipment may be any of multiple speakers located within an area. Thepeer equipment may be any speaker located within the area other than theequipment.

The first information of the equipment and the second information on thepeer equipment may indicate states of a same category. The state of theequipment and the state of the peer equipment may be triggered byrespective physical operations on the equipment and the peer equipment.Alternatively, the state of the equipment or the peer equipment may beshown by a feature of the equipment or the peer equipment when theequipment or the peer equipment is located at different locations in thearea. Networking according to an embodiment herein is to be elaboratedbelow for the two manifestations of the state.

The condition for triggering the networking may be pre-set correspondingto a state. When the condition for triggering the networkingcorresponding to a state is met, the equipment may form a network withthe peer equipment. That is, networking of the equipment and the peerequipment may be implemented by determining the state of the equipmentof the equipment and/or the state of the peer equipment as well as thepre-set condition, without the need of third-party control equipment.Thus, the equipment and the peer equipment may output same audio data.Namely, the peer equipment and the equipment may play an audiosimultaneously. The equipment and the peer equipment may outputdifferent audio data. The different audio data may be data on differentchannels of one audio file. The different audio data may be audio dataof independent audio files.

A wireless connection herein may be implemented using wirelesscommunication technology such as Wireless-Fidelity (Wi-Fi), Bluetooth(BT), etc.

With a technical solution according to embodiments herein, grouping ofequipment may be implemented without the need of control equipment, bydetermining whether the pre-set condition is met by the state of theequipment, which is flexible and facilitates operation by the user,greatly improving user experience.

As shown in FIG. 2, a method for equipment networking according to anembodiment herein may include steps as follows.

In step 201, equipment may acquire second information indicating datacharacterizing a signal transmitted by peer equipment.

In step 202, the equipment may determine whether a first pre-setcondition is met by the data characterizing the signal transmitted bythe peer equipment.

In step 203, when the first pre-set condition is met by the datacharacterizing the signal transmitted by the peer equipment, theequipment may group with the peer equipment, such that the peerequipment may output data same as data output by the equipment.

Both the equipment and the peer equipment may support establishing aconnection via a mode of wireless communication. The mode of wirelesscommunication may be Wi-Fi, BT, infrared, etc. The data characterizingthe signal may characterize a signal transmitted by Wi-Fi, BT, infrared,etc. The data characterizing the signal may be strength, a frequency, aphase, etc., of the signal. The signal may be a sound wave, ultrasound,etc.

The equipment networking according to the embodiment may be implementedautomatically using the data characterizing the inter-equipment signal.The data characterizing the signal may be the strength of the signal.The equipment may acquire the second information indicating the strengthof the signal transmitted by the peer equipment. With BT, the equipmentmay acquire the second information indicating the strength of the signaltransmitted by the peer equipment, as follows. A BT function of theequipment may be enabled. The equipment may serve as a BT initiator andscan to discover BT equipment at a fixed interval. After the BT functionof the peer equipment has been enabled, the peer equipment may bediscovered. Having scanned and discovered the peer equipment, theequipment may acquire information on the peer equipment, such as a nameand an identifier (ID) of the peer equipment, and the strength of a BTsignal transmitted by the peer equipment.

The equipment may determine whether the pre-set condition is met by atleast one of the first information or the second information as follows.The equipment may determine whether the first pre-set condition is metby the data characterizing the signal transmitted by the peer equipment.When the first pre-set condition is met by the data characterizing thesignal transmitted by the peer equipment, the equipment may determinethat the pre-set condition is met by the second information. The firstpre-set condition may be pre-set corresponding to the datacharacterizing the signal. The data characterizing the signal may be thestrength of the signal. A first threshold for triggering networking maybe pre-set in the equipment (namely, any equipment to be networked).When the strength of the signal transmitted by the peer equipment asacquired by the equipment has reached the first threshold, the equipmentmay determine that the first pre-set condition is met by the peerequipment. The equipment may group with the peer equipment, such thatboth the equipment and the peer equipment are in the same network.Namely, the peer equipment may play an audio same as that played by theequipment. Alternatively, the equipment and the peer equipment mayoutput different audio data. The different audio data may be data ondifferent channels of one audio file. The different audio data may beaudio data of independent audio files.

The equipment may group with the peer equipment as follows. Theequipment may send a grouping request to the peer equipment. Thegrouping request may include the information on the peer equipment.Having received the grouping request, the peer equipment may determinethat the grouping request includes the information on the peerequipment. The peer equipment may send a response to the equipment.Having received the response sent by the peer equipment, the equipmentmay group with the peer equipment. The networking may be implemented byWi-Fi, BT, etc.

As shown in FIG. 3, a method for equipment networking by BT according toan embodiment herein may include steps as follows.

In step 301, both equipment and peer equipment may enter a groupingmode.

In step 302, the equipment may scan for BT equipment.

In step 303, the equipment may determine whether BT equipment has beendiscovered by the scan. BT equipment discovered by the scan may bereferred to as peer equipment. If peer equipment has been discovered,the flow may go to step 305. Otherwise if no peer equipment has beendiscovered, the flow may go back to step 302 to re-scan for BTequipment. If no BT equipment has been discovered by the scan uponexpiration of a timer period, the flow may go to step 304 to indicatethat grouping has failed and the flow may end.

In step 305, the equipment may determine whether the BT equipment is ofa type same as that of the equipment. If so, the flow may go to step306. Otherwise, the flow may go back to step 302.

In step 306, the equipment may perform BT pairing. When the BT pairinghas failed, the flow may go back to step 302.

In step 307, a BT connection between the equipment and the peerequipment may be established. When BT connection establishment hasfailed, the flow may go back to step 302.

In step 308, after the BT connection between the equipment and the peerequipment has been established, the equipment may send a groupingrequest to the peer equipment.

In step 309, the equipment may determine whether a grouping response hasbeen received. If a grouping response has been received, the flow may goto step 310. Otherwise if no grouping response has been received, theflow may go back to step 302.

In step 310, the equipment may store information, and determine that thegrouping is successful. The flow may end.

The equipment may determine to enter the grouping mode when determiningthat the strength of the signal transmitted by the peer equipment hasreached the first threshold. Equipment may enter the grouping modeaccording to another trigger, such as by a trigger of a functional key(grouping key). The grouping key may be physical or virtual. Thegrouping key may be triggered by a pre-defined key triggering operationsuch as a single click, a double click, a long press, etc. The longpress may be a touch of duration longer than pre-set duration. Thepre-set duration may be of 2s, etc. Equipment may enter the groupingmode triggered by detecting a physical operation, such as rocking, aswing, a tap, etc., of the equipment.

The equipment serving as a BT initiator may serve as master speakerequipment. The peer equipment in a BT discoverable state may serve asslave speaker equipment. The equipment may scan nearby BT equipment.When BT equipment has been discovered by the scan, step 305 to step 310may be executed. When no BT equipment has been discovered by the scan,the flow may go back to step 302 to re-scan for BT equipment. When thescan (including the re-scan) has lasted longer than the pre-set period(e.g., 10s), it means that the scan has expired, and the flow may go tostep 304 to indicate that grouping has failed and the flow may end.

BT equipment discovered by the scan may be filtered for BT equipment ofthe type same as that of the equipment. The equipment may determinewhether the BT equipment is of the type same as that of the equipmentvia first three bits of a Media Access Control (MAC) address of the BTequipment discovered by the scan. When the BT equipment discovered bythe scan (referred to as peer equipment) is of the type same as that ofthe equipment, BT pairing and BT connection establishment may beperformed. In case either the BT pairing or the BT connectionestablishment has failed, the flow may go back to step 302 to re-scanfor BT equipment.

The equipment may send a grouping message to the peer equipmentaccording to the established BT connection. The grouping message mayinclude a grouping request and a MAC address of the equipment. Havingreceived the grouping message, the peer equipment may return, to theequipment, a grouping response corresponding to the grouping request.The grouping response may include information on the peer equipment. Theinformation on the peer equipment may include at least one of the nameof the peer equipment, information on the ID of the peer equipment, suchas a number of the peer equipment, or the MAC address of the peerequipment. Having received the grouping response sent by the peerequipment within a pre-set period of time, the equipment may store theinformation on the peer equipment. The equipment is now grouped with thepeer equipment successfully.

Likewise, peer equipment in a BT discoverable state may enter thegrouping mode according to a trigger of a grouping key. The grouping keymay be physical or virtual. The grouping key may be triggered by apre-defined key triggering operation such as a single click, a doubleclick, a long press, etc. The peer equipment may enter the grouping modetriggered by detecting a physical operation, such as rocking, a swing, atap, etc., of the peer equipment. In case the peer equipment is of thetype same as that of the equipment and the BT pairing is successful, thepeer equipment may receive a grouping message sent by the equipment. Thegrouping message may include at least one of a grouping request, the MACaddress of the equipment, and information on an ID of the equipment.Having acquired the grouping message, the peer equipment may store theMAC address of the equipment and the information on the ID of theequipment, and send a response to the equipment. The response mayinclude information on the peer equipment. The information on the peerequipment may include at least one of the name of the peer equipment,information on the ID of the peer equipment, such as a number of thepeer equipment, or the MAC address of the peer equipment. Thus, groupingof the peer equipment with the equipment completes.

After the equipment has formed the group with the peer equipment, theequipment may monitor the data characterizing the signal transmitted bythe peer equipment. When the first pre-set condition is not met by thedata characterizing the signal transmitted by the peer equipment, theequipment may quit the group formed with the peer equipment.

The data characterizing the signal may be the strength of the signal.After the equipment has formed the group with the peer equipment, theequipment may monitor the strength of the signal transmitted by the peerequipment. When the strength of the signal is smaller than a secondthreshold, the equipment may quit the group formed with the peerequipment.

After being networked with the peer equipment, the equipment may performscan to acquire the strength of the signal transmitted by the peerequipment. When the strength of the signal is smaller than the secondthreshold, it may be determined that the first pre-set condition is notmet by the data characterizing the signal transmitted by the peerequipment, and the equipment may quit the group formed with the peerequipment. The second threshold may be identical to the first threshold.The second threshold may be different from the first threshold. Thesecond threshold may be smaller than the first threshold.

The equipment may be grouped with the peer equipment bybroadcast/multicast, as follows. The equipment may broadcast/multicastdata. Having received responding data returned by the peer equipment,the equipment may form a group with the peer equipment. The respondingdata may include the information on the peer equipment. The method forequipment networking according to an embodiment herein is illustratedbelow. FIG. 4 is a diagram of applying a method for equipment networkingaccording to an embodiment herein. As shown in FIG. 4, equipment may bea speaker. A speaker A and a speaker B are to be networked with eachother. In step 11, after the BT function of the speaker A has beenenabled, the speaker A may perform BT scan at a fixed interval. Thespeaker A may serve as a master speaker. In step 12, after the BTfunction of the speaker B has been enabled, the speaker B may be in a BTdiscoverable state. The speaker B may serve as a slave speaker. In step13, the speaker A may discover the speaker B by the BT scan, receive apacket sent by the speaker B in response to the BT scan, and acquire thestrength of the BT signal transmitted by the speaker B and theinformation on the speaker B included in the responding packet/response.The strength of the BT signal transmitted by the speaker B may be yet toreach the first threshold. In step 14, the speaker B may approach thespeaker A. In step 15, the speaker A may scan for the speaker B at thepre-set interval to acquire a packet sent by the speaker B in responseto the BT scan to acquire the strength of the BT signal transmitted bythe speaker B. Having monitored that the strength of the BT signaltransmitted by the speaker B reaches the first threshold, the speaker Amay generate information on a group. The information on the group mayinclude an ID of the group. The ID of the group may include at least oneof a name of the group, a number of the group, etc. The speaker A maysend a grouping request to the speaker B by broadcasting a data packet.The broadcast data packet may be the broadcast data. The groupingrequest may include the information on the group and the information onthe speaker B. In step 16, the speaker B may receive the groupingrequest sent by the speaker A, determine that the grouping requestincludes the information on the speaker B, store the information on thegroup included in the grouping request, and sends responding data to thespeaker A. Thus, grouping of the speaker B with the speaker A completes.

Each of the speaker A and the speaker B may inform, by a heartbeatpacket sent at a fixed frequency (every 10s, for example), any othernetworked audio equipment, of the state per se. After the speaker A andthe speaker B have been networked with each other, the heartbeat packetmay include the information on the group.

In step 17, the speaker B may move away from the speaker A. In step 18,the speaker A may scan for the speaker B at the pre-set interval toacquire a packet sent by the speaker B in response to the BT scan toacquire the strength of the BT signal transmitted by the speaker B. Thespeaker A may monitor that the strength of the BT signal transmitted bythe speaker B is lower than the second threshold. When the groupincludes no member speaker other than the speaker A and the speaker B,the speaker A may quit the group automatically, remove the informationon the group from the heartbeat packet, and send the heartbeat packet.The second threshold may be identical to the first threshold. The secondthreshold may be smaller than the first threshold. In step 19, thespeaker B may receive the heartbeat packet sent by the speaker A,determine that the heartbeat packet include no information on the group,and quit the group automatically when the group includes no memberspeaker other than the speaker B.

The equipment may send a grouping request to the peer equipment. Thegrouping request may include the information on the peer equipment.Having received a response sent by the peer equipment, the equipment maygroup with the peer equipment. Alternatively, the equipment maybroadcast data. Having received responding data returned by the peerequipment, the equipment may form a group with the peer equipment. Theresponding data may include the information on the peer equipment. Thatis to say, the equipment may form a group with the peer equipment bysending a grouping request and/or by broadcast. A group of multipleequipment may be formed both by sending a grouping request and bybroadcast. For example, equipment 1 and equipment 2 may be groupedtogether by sending a grouping request, while equipment 2, equipment 3,and equipment 4 may be grouped together by broadcast.

The equipment may send a grouping request to the peer equipment asfollows. The equipment may be triggered to send the grouping request tothe peer equipment. Third-party control equipment may be triggered tosend the grouping request to the peer equipment. The equipment may betriggered to send the grouping request to the peer equipment accordingto a trigger of a functional key on the equipment and/or a voiceinstruction received by the equipment.

An application (APP) for grouping and managing grouped equipment may bepre-set in the equipment. After the APP has been started, the equipmentmay display an APP interface provided with a functional key forgrouping. The equipment may send the grouping request upon detecting anoperation that triggers the grouping key. The application may also beconfigured in third-party control equipment such as a mobileterminal/UE, a Personal Computer (PC), etc. The grouping request may besent by the third-party control equipment. The equipment may send thegrouping request according to a voice instruction received.

With a technical solution according to embodiments herein, grouping ofequipment may be implemented without the need of control equipment,facilitating operation by the user, greatly improving user experience.Grouping may be implemented automatically when detecting that thestrength of the wireless signal transmitted by peer/opposite equipmentreaches the first threshold. Ungrouping may be automatically implementedwhen detecting that the strength of the wireless signal transmitted bythe networked peer equipment is smaller than the second threshold. Suchflexible grouping/ungrouping facilitates operation by the user.

As shown in FIG. 5, a method for equipment networking according to anembodiment herein may include steps as follows.

In step 401, equipment may acquire first information triggered by afirst physical operation. The equipment may acquire second informationsent by peer equipment according to a second physical operation on thepeer equipment. The second information may include an ID of a group.

In step 402, the equipment may determine whether the second informationsent by the peer equipment is acquired upon acquiring the firstinformation.

In step 403, having acquired both the second information sent by thepeer equipment and the first information simultaneously, the equipmentmay generate and send third information according to the ID of the groupin the second information. The third information may include the ID ofthe group, such that the equipment may be grouped with the peerequipment.

Both the equipment and the peer equipment may support establishing aconnection via a mode of wireless communication. The mode of wirelesscommunication may be Wi-Fi, BT, infrared, etc.

Equipment may be networked automatically according to a same physicaloperation performed on respective equipment, such as rocking, a swing, atap, etc., of respective equipment. Sensing equipment capable ofcollecting a physical operation, such as an accelerometer, a pressuresensor, etc., may be pre-set respectively in the equipment and the peerequipment. A physical operation performed on equipment may be detectedvia a pre-set sensing equipment. The equipment may acquire the firstinformation triggered by a first physical operation via a pre-setsensor. The first information may indicate the first physical operationbeing performed on the equipment. The peer equipment may detect a secondphysical operation via a pre-set sensor and generate the secondinformation according to the second physical operation. The secondinformation may include at least the information on the group. Theinformation on the group may include the ID of the group such as thename of the group, the unique number of the group, etc.

Each of the equipment and the peer equipment may inform, by a heartbeatpacket sent at a fixed frequency (every 10 s, for example), any othernetworked equipment of the state per se. That is, having the detectedsecond physical operation, the peer equipment may generate the secondinformation including the information on the group, and send the secondinformation by a heartbeat packet. Having the detected first physicaloperation, the equipment may generate the information on the group andsend the information on the group by a heartbeat packet. The equipmentmay determine whether the second information sent by the peer equipmentis acquired upon acquiring the first information to determine whetherthe second physical operation is being performed on the peer equipmentwhile the first physical operation is being performed on the equipment.The equipment may acquire both the second information sent by the peerequipment and the first information simultaneously. This means thatgrouping of the equipment with the peer equipment may be triggered bydetermining that the second physical operation is being performed on thepeer equipment while the first physical operation is being performed onthe equipment. Having received the information on the group sent by thepeer equipment, the equipment may set a heartbeat packet (i.e., thethird information) including the information on the group, and send theheartbeat packet. Having received the heartbeat packet, the peerequipment may determine that the heartbeat packet includes the generatedinformation on the group, and send a response of success to theequipment indicating that the equipment is now grouped with the peerequipment successfully.

After the equipment has formed the group with the peer equipment, theequipment may quit the group formed with the peer equipment upon onceagain acquiring the first information triggered by the first physicaloperation. Alternatively, the equipment may quit the group formed withthe peer equipment upon acquiring fourth information sent by the peerequipment according to the second physical operation. The fourthinformation may indicate that the peer equipment is no longer a memberof the group.

The equipment has been networked with the peer equipment via a physicaloperation of rocking. Upon detecting another physical operation ofrocking, the equipment may quit the network automatically, and generateand send a heartbeat packet indicating that the equipment is not in thenetwork. Having received the heartbeat packet, the peer equipment maydetermine, according to the heartbeat packet, that the equipment is notin the network. When the network includes no equipment other than thepeer equipment, the peer equipment may quit the network as well, andremove the information on the group from a heartbeat packet to be sent.Upon detecting another physical operation of rocking, the peer equipmentmay quit the network automatically, and generate and send a heartbeatpacket (i.e., the fourth information) indicating that the peer equipmentis not in the network. Having received the heartbeat packet, theequipment may determine, according to the heartbeat packet, that thepeer equipment is not in the network. When the network includes no otherequipment, the equipment may quit the network as well, and remove theinformation on the group from a heartbeat packet to be sent.

FIG. 6 is a diagram of applying a method for equipment networkingaccording to an embodiment herein. As shown in FIG. 6, equipment may bea speaker. A speaker A and a speaker B are to be networked with eachother. In step 21, the speaker B may detect a physical operation,generate information on a group according to the physical operation, andsend the information on the group in a first heartbeat packet. Theinformation on the group may include at least one of a name of the groupor a unique number of the group. In step 22, when receiving the firstheartbeat packet including the information on the group while detectingthe same physical operation, the speaker A may include the informationon the group in a second heartbeat packet to be sent, and send thesecond heartbeat packet. In step 23, having received the secondheartbeat packet sent by the speaker A and determined that the secondheartbeat packet includes the information on the group, the speaker Bmay determine that the grouping is successful, and send a response ofsuccess to the speaker A.

Each of the speaker A and the speaker B may inform, by a heartbeatpacket sent at a fixed frequency (every 10s, for example), any othernetworked audio equipment, of the state per se. After the speaker A andthe speaker B have been networked with each other, the heartbeat packetmay include the information on the group.

In step 24, While being networked with the speaker A, upon detecting thesame physical operation, the speaker B may generate informationindicating that the speaker B is not in the group, and send theinformation in a third heartbeat packet, such that the speaker B quitsthe network automatically. In step 25, having received the thirdheartbeat packet, the speaker A may determine that the speaker B is notin the group as indicated by the third heartbeat packet. When thenetwork includes no other member speaker, the speaker A may as well quitthe network automatically, and remove the information on the group froma heartbeat packet to be sent.

With a technical solution according to embodiments herein, grouping ofequipment may be implemented without the need of control equipment,facilitating operation by the user, greatly improving user experience.Flexible grouping/ungrouping may be implemented according to identicalphysical operations performed simultaneously on equipment to be grouped,facilitating operation by the user.

As shown in FIG. 7, a method for equipment networking according to anembodiment herein may include steps as follows.

In step 501, equipment acquires at least one of first informationindicating a state of the equipment or second information indicating astate of peer equipment.

In step 502, the equipment determines whether a pre-set condition is metby at least one of the first information or the second information.

In step 503, when the pre-set condition is met by at least one of thefirst information or the second information, the equipment forms a groupwith the peer equipment, such that the peer equipment may output datasame as data output by the equipment.

In step 504, the equipment detects first data characterizing a signaltransmitted by nearby wireless equipment.

In step 505, the equipment determines whether a second pre-set conditionis met by the first data characterizing the signal. When the secondpre-set condition is met by the first data characterizing the signal,the equipment generates an output instruction, and outputs dataaccording to the output instruction.

Second data characterizing the signal transmitted by the nearby wirelessequipment may be detected. It may be determined whether a third pre-setcondition is met by the second data characterizing the signal. When thethird pre-set condition is not met by the second data characterizing thesignal, an end instruction may be generated. Data outputting may bestopped according to the end instruction.

Equipment may be triggered by nearby wireless equipment. The steps 504and 505 may be implemented before or after the step 501, namely beforeor after the equipment grouping.

Networking of equipment and peer equipment in the steps 501 to 502 maybe implemented as illustrated above, which will not be repeated here.

The wireless equipment may be equipped with a wireless communicationfunction. The wireless equipment may be wearable equipment such as asmart watch, a smart wristband, smart glasses, etc. The wirelessequipment may be a smart card, a keychain, a mobile phone, etc. Theequipment may determine a distance to the wireless equipment bydetecting the data characterizing the signal of certain wirelesscommunication technology such as BT, Bluetooth Low Energy (BLE), NearField Communication (NFC), Wi-Fi, etc. A communicating modulecorresponding to the wireless communication technology, such as a BTcommunicating module, a Wi-Fi module, an NFC module, etc., may have tobe set respectively in the wireless equipment and the equipment. Thedata characterizing the signal may characterize a signal transmitted byWi-Fi, BT, infrared, etc. The data characterizing the signal may bestrength, a frequency, a phase, etc., of the signal.

Data characterizing the signal may indicate the strength of the signal.The equipment may determine whether the second pre-set condition is metby the first data characterizing the signal as follows. A first distanceto the wireless equipment may be determined according to a firststrength of the signal. It may be determined that the second pre-setcondition is met by the first data characterizing the signal when thefirst distance is no greater than the first threshold. It may bedetermined whether the third pre-set condition is met by the second datacharacterizing the signal as follows. A second distance to the wirelessequipment may be determined according to a second strength of thesignal. It may be determined that the third pre-set condition is not metby the second data characterizing the signal when the second distance isgreater than the second threshold. The second threshold may be identicalto the first threshold. The second threshold may be different from thefirst threshold. The second threshold may be greater than the firstthreshold.

The data characterizing the signal may be the strength of the signal.When the wireless equipment approaches the equipment, the equipment maydetect the first strength of the signal transmitted by the wirelessequipment. The equipment may determine the first distance to thewireless equipment according to the detected first strength of thesignal. When the first distance is no greater than the first threshold,the equipment may generate the output instruction, and output the dataaccording to the output instruction. As the distance between thewireless equipment and the equipment varies, the equipment may determinethe second distance to the wireless equipment according to the detectedsecond strength of the signal. When the second distance is greater thanthe second threshold, the equipment may generate the end instruction,and stop outputting the data according to the end instruction.

The equipment may be audio equipment such as a speaker. The peerequipment may be wearable. The equipment may communicate with the peerequipment by BT or Wi-Fi. While being disconnected from the audioequipment, the wearable equipment worn by a user may approach the audioequipment. The wearable equipment may trigger playing of an audio fileby the audio equipment by entering a sphere centered on the audioequipment with a radius of 1.5 m, for example. While being connected tothe audio equipment, the wearable equipment worn by the user may moveaway from the audio equipment. The audio equipment may stop playing theaudio file when the wearable equipment moves out of the sphere centeredon the audio equipment with the radius of 1.5 m, for example.

Data characterizing the signal may indicate the frequency of the signal.The equipment may determine whether the second pre-set condition is metby the first data characterizing the signal as follows. It may bedetermined that the second pre-set condition is met by the first datacharacterizing the signal when a first frequency of the signal meets apre-set frequency condition. It may be determined whether the thirdpre-set condition is met by the second data characterizing the signal asfollows. It may be determined that the third pre-set condition is notmet by the second data characterizing the signal when a second frequencyof the signal does not meet the pre-set frequency condition. The secondpre-set condition may be identical to the third pre-set condition.

The data characterizing the signal may be the frequency of the signal.The equipment may generate the output instruction and output the dataaccording to the output instruction when the frequency of the signaltransmitted by the wireless equipment matches a pre-set frequency. Upondetecting that the frequency of the signal transmitted by the wirelessequipment matches no pre-set frequency, the equipment may generate theend instruction, and stop outputting the data according to the endinstruction.

Audio equipment may communicate with wearable equipment worn by a userby NFC. The wearable equipment may approach the audio equipment. Thewearable equipment may trigger playing of an audio file by the audioequipment by entering a sphere centered on the audio equipment with aradius of 20 cm, for example. The audio equipment may stay in theplaying state after the wearable equipment has moved out of the spherecentered on the audio equipment with the radius of 20 cm, for example.

The equipment may generate the output instruction when wirelessequipment gets close enough to the equipment. The equipment may alsogenerate the output instruction when another smart UE, such as a smartphone, gets close enough to the equipment.

The equipment may be audio equipment. The audio equipment may output thedata according to the output instruction. The data may be an audio filestored in the audio equipment.

The equipment may form an array group with the peer equipment. Both theequipment and the peer equipment may output the data as triggered bynearby wireless equipment approaching the equipment. The equipment mayoutput the data identical to the data output by the peer equipment. Thedata may be audio data. The equipment and the peer equipment may outputdata on different channels of one audio file.

FIG. 8a and FIG. 8b are diagrams of applying a method for equipmentnetworking according to an embodiment herein. As shown in FIG. 8 a, thenetwork may include equipment that may be located respectively indifferent rooms. As shown in FIG. 8 a, equipment 1 may be located inspace 1. The space 1 may be a living room. Equipment 2 may be located inspace 2. The space 2 may be a study. Equipment 3 may be located in space3. The space 3 may be a bedroom. Equipment 4 may be located in space 4.The space 4 may be a room for recreation. When a user wearing wearableequipment enters certain space, such as the space 3, the equipment 3 maydetect that the distance to the wearable equipment is no greater thanthe first threshold. The first threshold may be 1.5 m. The equipment 3may generate a playing instruction/request, thereby triggering operationof the equipment 3 to play an audio. When the user has left the room ormoved away from the equipment 3, the equipment 3 may detect that thedistance to the wearable equipment is greater than the second threshold.The second threshold may be 5 m. The equipment 3 may generate an endinstruction, such that the equipment 3 may stop playing the audioaccording to the end instruction.

With a technical solution according to an aspect herein, grouping ofequipment may be implemented without the need of control equipment, bydetermining whether the pre-set condition is met by the state of theequipment, which is flexible and facilitates operation by the user,greatly improving user experience. With a technical solution accordingto an aspect herein, equipment operation may be initiated or stopped astriggered by wireless equipment worn by a user, facilitating operationby the user, increasing equipment operability.

As shown in FIG. 9, a method for outputting by equipment according to anembodiment herein includes steps as follows.

In step 601, equipment detects first data characterizing a signaltransmitted by nearby wireless equipment.

In step 602, the equipment determines whether a second pre-set conditionis met by the first data characterizing the signal. When the secondpre-set condition is met by the first data characterizing the signal,the equipment generates an output instruction, and outputs dataaccording to the output instruction.

Second data characterizing the signal transmitted by the nearby wirelessequipment may be detected. It may be determined whether a third pre-setcondition is met by the second data characterizing the signal. When thethird pre-set condition is not met by the second data characterizing thesignal, an end instruction may be generated. Data outputting may bestopped according to the end instruction.

The wireless equipment may be equipped with a wireless communicationfunction. The wireless equipment may be wearable equipment such as asmart watch, a smart wristband, smart glasses, etc. The wirelessequipment may be a smart card, a keychain, a mobile phone, etc. Theequipment may determine a distance to the wireless equipment bydetecting the data characterizing the signal of certain wirelesscommunication technology such as BT, Bluetooth Low Energy (BLE), NearField Communication (NFC), Wi-Fi, etc. A communicating modulecorresponding to the wireless communication technology, such as a BTcommunicating module, a Wi-Fi module, an NFC module, etc., may have tobe set respectively in the wireless equipment and the equipment. Thedata characterizing the signal may characterize a signal transmitted byWi-Fi, BT, infrared, etc. The data characterizing the signal may bestrength, a frequency, a phase, etc., of the signal.

Data characterizing the signal may indicate the strength of the signal.The equipment may determine whether the second pre-set condition is metby the first data characterizing the signal as follows. A first distanceto the wireless equipment may be determined according to a firststrength of the signal. It may be determined that the second pre-setcondition is met by the first data characterizing the signal when thefirst distance is no greater than the first threshold. It may bedetermined whether the third pre-set condition is met by the second datacharacterizing the signal as follows. A second distance to the wirelessequipment may be determined according to a second strength of thesignal. It may be determined that the third pre-set condition is not metby the second data characterizing the signal when the second distance isgreater than the second threshold. The second threshold may be identicalto the first threshold. The second threshold may be different from thefirst threshold. The second threshold may be greater than the firstthreshold.

The data characterizing the signal may be the strength of the signal.When the wireless equipment approaches the equipment, the equipment maydetect the first strength of the signal transmitted by the wirelessequipment. The equipment may determine the first distance to thewireless equipment according to the detected first strength of thesignal. When the first distance is no greater than the first threshold,the equipment may generate the output instruction, and output the dataaccording to the output instruction. As the distance between thewireless equipment and the equipment varies, the equipment may determinethe second distance to the wireless equipment according to the detectedsecond strength of the signal. When the second distance is greater thanthe second threshold, the equipment may generate the end instruction,and stop outputting the data according to the end instruction.

The equipment may be audio equipment such as a speaker. The peerequipment may be wearable. The equipment may communicate with the peerequipment by BT or Wi-Fi. While being disconnected from the audioequipment, the wearable equipment worn by a user may approach the audioequipment. The wearable equipment may trigger playing of an audio fileby the audio equipment by entering a sphere centered on the audioequipment with a radius of 1.5 m, for example. While being connected tothe audio equipment, the wearable equipment worn by the user may moveaway from the audio equipment. The audio equipment may stop playing theaudio file when the wearable equipment moves out of the sphere centeredon the audio equipment with the radius of 1.5 m, for example.

Data characterizing the signal may indicate the frequency of the signal.The equipment may determine whether the second pre-set condition is metby the first data characterizing the signal as follows. It may bedetermined that the second pre-set condition is met by the first datacharacterizing the signal when a first frequency of the signal meets apre-set frequency condition. It may be determined whether the thirdpre-set condition is met by the second data characterizing the signal asfollows. It may be determined that the third pre-set condition is notmet by the second data characterizing the signal when a second frequencyof the signal does not meet the pre-set frequency condition. The secondpre-set condition may be identical to the third pre-set condition.

The data characterizing the signal may be the frequency of the signal.The equipment may generate the output instruction and output the dataaccording to the output instruction when the frequency of the signaltransmitted by the wireless equipment matches a pre-set frequency. Upondetecting that the frequency of the signal transmitted by the wirelessequipment matches no pre-set frequency, the equipment may generate theend instruction, and stop outputting the data according to the endinstruction.

Audio equipment may communicate with wearable equipment worn by a userby NFC. The wearable equipment may approach the audio equipment. Thewearable equipment may trigger playing of an audio file by the audioequipment by entering a sphere centered on the audio equipment with aradius of 20 cm, for example. The audio equipment may stay in theplaying state after the wearable equipment has moved out of the spherecentered on the audio equipment with the radius of 20 cm, for example.

The equipment may generate the output instruction when wirelessequipment gets close enough to the equipment. The equipment may alsogenerate the output instruction when another smart UE, such as a smartphone, gets close enough to the equipment.

The equipment may be audio equipment. The audio equipment may output thedata according to the output instruction. The data may be an audio filestored in the audio equipment.

Equipment may pre-set a permission of wireless equipment that may accessthe equipment. An interface for setting the permission of wirelessequipment may be pre-set in the equipment. A user may input an ID ofwireless equipment that may access the equipment. Alternatively, whenwireless equipment attempts access for the first time, the user may beprompted, using a prompt message, whether to allow the access. Afterindication that the access is allowed is received, the ID of thewireless equipment may be set as that of wireless equipment allowed toaccess the equipment. The permission of wireless equipment that mayaccess the equipment pre-set in the equipment may include a list of IDsof wireless equipment. A priority of accessing the equipment may be setfor an ID of respective wireless equipment in the list. Equipment may beapproached simultaneously by at least two wireless equipment. Theequipment may select wireless equipment of a maximal priority accordingto the pre-set priorities, and generate the output instruction or theend instruction as triggered by the wireless equipment of the maximalpriority that is approaching or moving away from the equipment.

With a technical solution according to embodiments herein, equipmentoperation may be initiated or stopped as triggered by wireless equipmentworn by a user, facilitating operation by the user, increasing equipmentoperability.

As shown in FIG. 10, equipment according to an embodiment hereinincludes an acquiring unit 71, a communicating unit 72, and adetermining unit 73.

The acquiring unit 71 is arranged for: acquiring first informationindicating a state of the equipment.

The communicating unit 72 is arranged for: acquiring second informationindicating a state of peer equipment.

The determining unit 73 is arranged for: determining whether a pre-setcondition is met by at least one of the first information or the secondinformation.

The communicating unit 72 is further arranged for: in response todetermining, by the determining unit 73, that the pre-set condition ismet by at least one of the first information or the second information,forming a group with the peer equipment, such that the peer equipmentmay output data same as data output by the equipment.

Those skilled in the art may know that a function implemented by aprocessing unit in the equipment according to an embodiment herein maybe understood by referring to description relevant to the method forequipment networking. A processing unit in the equipment according to anembodiment herein may be implemented by an analog circuit implementing afunction according to an embodiment herein, or by running, on a smartUE, software executing a function according to an embodiment herein.

As shown in FIG. 10, equipment according to an embodiment herein mayinclude an acquiring unit 71, a communicating unit 72, and a determiningunit 73.

The communicating unit 72 may be arranged for: acquiring the secondinformation indicating data characterizing a signal transmitted by thepeer equipment.

The determining unit 73 may be arranged for: determining whether a firstpre-set condition is met by the data characterizing the signaltransmitted by the peer equipment, and in response to determining thatthe first pre-set condition is met by the data characterizing the signaltransmitted by the peer equipment, determining that the pre-setcondition is met by the second information.

The communicating unit 72 may be further arranged for: in response todetermining, by the determining unit 73, that the pre-set condition ismet by the second information, sending a grouping request to the peerequipment, receiving a response sent by the peer equipment, and groupingwith the peer equipment; and/or broadcasting/multicasting data,receiving responding data returned by the peer equipment, and forming agroup with the peer equipment. The grouping request may include theinformation on the peer equipment. The responding data may include theinformation on the peer equipment.

The communicating unit 72 may be further arranged for: in response toforming the group with the peer equipment, monitoring the datacharacterizing the signal transmitted by the peer equipment; in responseto determining that the first pre-set condition is not met by the datacharacterizing the signal transmitted by the peer equipment, quittingthe group formed with the peer equipment.

The communicating unit 72 may be arranged for: sending the groupingrequest according to a trigger operation and/or by triggeringthird-party control equipment. The communicating unit may be triggeredto send the grouping request according to a trigger of a functional keyand/or a voice instruction received.

Those skilled in the art may know that a function implemented by aprocessing unit in the equipment according to an embodiment herein maybe understood by referring to description relevant to the method forequipment networking. A processing unit in the equipment according to anembodiment herein may be implemented by an analog circuit implementing afunction according to an embodiment herein, or by running, on a smartUE, software executing a function according to an embodiment herein.

As shown in FIG. 10, equipment according to an embodiment herein mayinclude an acquiring unit 71, a communicating unit 72, and a determiningunit 73.

The acquiring unit 71 may be arranged for: acquiring first informationtriggered by a first physical operation.

The communicating unit 72 may be arranged for: acquiring secondinformation sent by peer equipment according to a second physicaloperation on the peer equipment.

The determining unit 73 may be arranged for: determining whether thecommunicating unit 72 acquires the second information sent by the peerequipment upon acquiring the first information by the acquiring unit 71;in response to determining that the communicating unit 72 acquires thesecond information sent by the peer equipment and the acquiring unit 71acquires the first information simultaneously, determining that thepre-set condition is met by the first information and the secondinformation.

The communicating unit 72 may be arranged for: in response todetermining, by the determining unit 73, that the pre-set condition ismet by the first information and the second information, generating andsending third information according to the second information, such thatthe equipment may be grouped with the peer equipment.

The acquiring unit 71 may be further arranged for: in response toforming the group with the peer equipment, once again acquiring thefirst information triggered by the first physical operation. Thecommunicating unit 72 may be further arranged for: quitting the groupformed with the peer equipment.

Alternatively, the communicating unit 72 may be further arranged for:quitting the group formed with the peer equipment in response toacquiring fourth information sent by the peer equipment according to thesecond physical operation. The fourth information may indicate that thepeer equipment is no longer a member of the group.

Those skilled in the art may know that a function implemented by aprocessing unit in the equipment according to an embodiment herein maybe understood by referring to description relevant to the method forequipment networking. A processing unit in the equipment according to anembodiment herein may be implemented by an analog circuit implementing afunction according to an embodiment herein, or by running, on a smartUE, software executing a function according to an embodiment herein.

As shown in FIG. 11, equipment according to an embodiment herein mayinclude an acquiring unit 71, a communicating unit 72, a determiningunit 73, and an executing unit 74.

The acquiring unit 71 is arranged for: acquiring first informationindicating a state of the equipment.

The communicating unit 72 is arranged for: acquiring second informationindicating a state of peer equipment.

The determining unit 73 is arranged for: determining whether a pre-setcondition is met by at least one of the first information or the secondinformation.

The communicating unit 72 is further arranged for: in response todetermining, by the determining unit 73, that the pre-set condition ismet by at least one of the first information or the second information,forming a group with the peer equipment, such that the peer equipmentmay output data same as data output by the equipment.

The acquiring unit 71 may be further arranged for: detecting datacharacterizing a signal transmitted by nearby wireless equipmentapproaching the equipment, and determining a distance to the wirelessequipment according to the data characterizing the signal.

The executing unit 74 may be arranged for: in response to determining,by the acquiring unit 71, that the distance is no greater than a firstthreshold, generating an output instruction, and outputting dataaccording to the output instruction.

Those skilled in the art may know that a function implemented by aprocessing unit in the equipment according to an embodiment herein maybe understood by referring to description relevant to the method forequipment networking. A processing unit in the equipment according to anembodiment herein may be implemented by an analog circuit implementing afunction according to an embodiment herein, or by running, on a smartUE, software executing a function according to an embodiment herein.

The equipment may be audio equipment, such as a speaker, a headset, etc.The determining unit 73 and the executing unit 74 in the equipment maybe implemented by at least one of a Central Processing Unit (CPU), aDigital Signal Processor (DSP), a Microcontroller Unit (MCU), aField—Programmable Gate Array (FPGA), etc., in the equipment. Theacquiring unit 71 in the equipment may be implemented by a sensor fordetecting a physical operation in the equipment, such as anaccelerometer. The communicating unit 72 in the equipment may beimplemented by a set of communicating modules (including a basiccommunicating kit, an operating system, a communicating module, standardinterface and protocol, etc.) and a transceiver antenna.

As shown in FIG. 12, equipment according to an embodiment herein mayinclude a detecting unit 81, a determining unit 82, and a controllingunit 83.

The detecting unit 81 may be arranged for: detecting first datacharacterizing a signal transmitted by nearby wireless equipment.

The determining unit 82 may be arranged for: determining whether asecond pre-set condition is met by the first data characterizing thesignal.

The controlling unit 83 may be arranged for: in response to determining,by the determining unit 82, that the second pre-set condition is met bythe first data characterizing the signal, generating an outputinstruction, and outputting data according to the output instruction.

The detecting unit 81 may be further arranged for: detecting second datacharacterizing the signal transmitted by the nearby wireless equipment.

-   -   the determining unit 82 may be further arranged for: determining        whether a third pre-set condition is met by the second data        characterizing the signal.    -   the controlling unit 83 may be further arranged for: in response        to determining, by the determining unit 82, that the third        pre-set condition is not met by the second data characterizing        the signal, generating an end instruction, and stopping        outputting the data according to the end instruction.

Data characterizing the signal may indicate the strength of the signal.

The determining unit 82 may be arranged for: determining the firstdistance to the wireless equipment according to the first strength ofthe signal, and determining whether the first distance is greater thanthe first threshold.

The controlling unit 83 may be arranged for: in response to determining,by the determining unit 82, that the first distance is no greater thanthe first threshold, determining that the second pre-set condition ismet by the first data characterizing the signal, generating the outputinstruction, and outputting the data according to the outputinstruction.

The determining unit 82 may be arranged for: determining the seconddistance to the wireless equipment according to the second strength ofthe signal, and determining whether the second distance is greater thanthe second threshold.

The controlling unit 83 may be arranged for: in response to determining,by the determining unit, that the second distance is greater than thesecond threshold, determining that the third pre-set condition is notmet by the second data characterizing the signal, generating the endinstruction, and stopping outputting the data according to the endinstruction.

Data characterizing the signal may indicate the frequency of the signal.

The determining unit 82 may be arranged for: determining whether a firstfrequency of the signal meets a pre-set frequency condition.

The controlling unit 83 may be arranged for: in response to determining,by the determining unit 82, that the first frequency of the signal meetsthe pre-set frequency condition, determining that the second pre-setcondition is met by the first data characterizing the signal, generatingthe output instruction, and outputting the data according to the outputinstruction.

The determining unit 82 may be arranged for: determining whether asecond frequency of the signal meets the pre-set frequency condition.

The controlling unit 83 may be arranged for: in response to determining,by the determining unit 82, that the second frequency of the signal doesnot meet the pre-set frequency condition, determining that the thirdpre-set condition is not met by the second data characterizing thesignal, generating the end instruction, and stopping outputting the dataaccording to the end instruction.

Those skilled in the art may know that a function implemented by aprocessing unit in the equipment according to an embodiment herein maybe understood by referring to description relevant to the method forequipment networking. A processing unit in the equipment according to anembodiment herein may be implemented by an analog circuit implementing afunction according to an embodiment herein, or by running, on a smartUE, software executing a function according to an embodiment herein.

The equipment may be audio equipment, such as a speaker, a headset, etc.

The detecting unit 81, the determining unit 82, and the controlling unit83 may be implemented by at least one of a CPU, a DSP, an MCU, an FPGAin the wearable equipment.

Note that in embodiments herein, disclosed equipment and method may beimplemented in another mode. Described equipment embodiment is merelyexemplary. For example, the unit division is merely logical functiondivision and there may be another division in actual implementation. Forexample, multiple units or components may be combined, or integratedinto another system. Some features/characteristics may be omitted orskipped. Coupling, direct coupling, or communicational connection amongthe components illustrated or discussed herein may be implementedthrough indirect coupling or communicational connection among someinterfaces, equipment, or units, and may be electrical, mechanical, orin another form.

Units described as separate components may or may not be physicallyseparated. Components shown as units may or may not be physical units.They may be located in one place or distributed on multiple networkunits. Some or all of the units may be selected to achieve the effect ofa solution herein as needed.

Various functional units in an embodiment herein may be integrated inone processing unit, or exist as separate units. Two or more such unitsmay be integrated in one unit. The integrated unit may be implemented inform of hardware, or hardware plus software functional unit(s).

Those skilled in the art may understand that all or part of the steps ofthe embodiments may be implemented by instructing a related hardwarethrough a program, which program may be stored in a transitory ornon-transitory computer-readable storage medium. When executed, theprogram may execute steps including those of the embodiments. Thecomputer-readable storage medium may be various media that can storeprogram codes, such as mobile storage equipment, Read-Only Memory (ROM),a Random Access Memory (RAM), a magnetic disk, a CD, and/or the like.

When implemented in form of a software functional module and sold orused as an independent product, an integrated module herein may also bestored in a transitory or non-transitory computer-readable storagemedium. Based on such an understanding, the essential part or a partcontributing to prior art of the technical solution of an embodiment ofthe present disclosure may appear in form of a software product storedin storage medium, and may include a number of instructions for allowingcomputer equipment (such as a personal computer, a server, networkequipment, and/or the like) to execute all or part of the methodaccording to embodiments herein. The storage medium may include variousmedia that can store program codes, such as mobile storage equipment,ROM, RAM, a magnetic disk, a CD, and/or the like.

What described are but embodiments herein and are not intended to limitthe scope of the present disclosure. Any modification, equivalentreplacement, and/or the like made within the spirit as well as principleof the present disclosure, as may occur to those skilled in the art,shall be included in the scope of the present disclosure. The scope ofthe present disclosure thus should be determined as claimed by theclaims.

1. A method for equipment networking, comprising: acquiring, byequipment, at least one of first information indicating a state of theequipment or second information indicating a state of peer equipment;determining, by the equipment, whether a pre-set condition is met by atleast one of the first information or the second information; inresponse to determining that the pre-set condition is met by at leastone of the first information or the second information, forming, by theequipment, a group with the peer equipment; and monitoring, by theequipment, data characterizing a signal transmitted by the peerequipment; in response to determining that a first pre-set condition isnot met by the data characterizing the signal transmitted by the peerequipment, quitting the group formed with the peer equipment.
 2. Themethod according to claim 1, wherein the state of the peer equipmentcomprises the data characterizing the signal transmitted by the peerequipment, wherein the determining, by the equipment, whether a pre-setcondition is met by at least one of the first information or the secondinformation comprises: determining, by the equipment, whether the firstpre-set condition is met by the data characterizing the signaltransmitted by the peer equipment, and in response to determining thatthe first pre-set condition is met by the data characterizing the signaltransmitted by the peer equipment, determining that the pre-setcondition is met by the second information.
 3. The method according toclaim 2, wherein the forming, by the equipment, a group with the peerequipment comprises at least one of: sending, by the equipment, agrouping request to the peer equipment, the grouping request comprisinginformation on the peer equipment; having received a response sent bythe peer equipment, forming the group with the peer equipment; orbroadcasting/multicasting, by the equipment, data; having receivedresponding data returned by the peer equipment, forming the group withthe peer equipment, the responding data comprising the information onthe peer equipment.
 4. The method according to claim 1, wherein theacquiring, by the equipment, the first information indicating the stateof the equipment comprises: acquiring, by the equipment, the firstinformation triggered by a first physical operation, wherein theacquiring, by the equipment, the second information indicating the stateof the peer equipment comprises: acquiring, by the equipment, the secondinformation sent by the peer equipment according to a second physicaloperation on the peer equipment.
 5. The method according to claim 4,wherein the determining, by the equipment, whether the pre-set conditionis met by the first information and the second information comprises:determining, by the equipment, whether the second information sent bythe peer equipment is acquired upon acquiring the first information;having acquired both the second information sent by the peer equipmentand the first information simultaneously, determining, by the equipment,that the pre-set condition is met by the first information and thesecond information.
 6. The method according to claim 5, wherein theforming, by the equipment, a group with the peer equipment comprises:forming, by the equipment, the group with the peer equipment bygenerating and sending third information according to the secondinformation.
 7. The method according to claim 6, further comprising:after the forming, by the equipment, a group with the peer equipment,quitting, by the equipment, the group formed with the peer equipmentupon once again acquiring the first information triggered by the firstphysical operation, or quitting, by the equipment, the group formed withthe peer equipment upon acquiring fourth information sent by the peerequipment according to the second physical operation, the fourthinformation indicating that the peer equipment is no longer a member ofthe group.
 8. The method according to claim 3, wherein the sending, bythe equipment, a grouping request to the peer equipment comprises atleast one of: triggering sending, by the equipment, the grouping requestto the peer equipment; and triggering sending, by third-party controlequipment, the grouping request to the peer equipment, wherein thetriggering sending, by the equipment, the grouping request to the peerequipment comprises: triggering sending, by the equipment, the groupingrequest to the peer equipment according to at least one of a trigger ofa functional key on the equipment and a voice instruction received bythe equipment.
 9. The method according to claim 1, further comprising:detecting, by equipment, first data characterizing a signal transmittedby nearby wireless equipment; determining, by the equipment, whether asecond pre-set condition is met by the first data characterizing thesignal; and in response to determining that the second pre-set conditionis met by the first data characterizing the signal, generating, by theequipment, an output instruction, and outputting data according to theoutput instruction.
 10. Equipment, comprising: a processor; and memorystoring instructions executable by the processor, wherein the processoris arranged for: acquiring at least one of first information indicatinga state of the equipment or second information indicating a state ofpeer equipment; determining whether a pre-set condition is met by atleast one of the first information or the second information; inresponse to determining that the pre-set condition is met by at leastone of the first information or the second information, forming a groupwith the peer equipment; and monitoring data characterizing a signaltransmitted by the peer equipment; in response to determining that afirst pre-set condition is not met by the data characterizing the signaltransmitted by the peer equipment, quitting the group formed with thepeer equipment.
 11. The equipment according to claim 10, wherein theprocessor is arranged for: acquiring the second information indicatingthe data characterizing the signal transmitted by the peer equipment;determining whether the first pre-set condition is met by the datacharacterizing the signal transmitted by the peer equipment, and inresponse to determining that the first pre-set condition is met by thedata characterizing the signal transmitted by the peer equipment,determining that the pre-set condition is met by the second information.12. The equipment according to claim 11, wherein the processor isarranged for: sending a grouping request to the peer equipment, thegrouping request comprising information on the peer equipment; havingreceived a response sent by the peer equipment, forming the group withthe peer equipment; and/or, broadcasting/multicasting data; havingreceived responding data returned by the peer equipment, forming thegroup with the peer equipment, the responding data comprising theinformation on the peer equipment.
 13. The equipment according to claim10, wherein the processor is arranged for: acquiring the firstinformation triggered by a first physical operation; acquiring thesecond information sent by the peer equipment according to a secondphysical operation on the peer equipment.
 14. The equipment according toclaim 10, wherein the processor is arranged for: detecting datacharacterizing a signal transmitted by nearby wireless equipment, anddetermining a distance to the wireless equipment according to the datacharacterizing the signal; in response to determining that the distanceis no greater than a first threshold, generating an output instruction,and outputting data according to the output instruction.